package cn.kxm.pojo;
/*
 * 往来单位表
 */
public class Company {

	private String code;
	private String name;
	private String linkman;
	private String phone;
	private String fax;
	private String address;
	private int type;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLinkman() {
		return linkman;
	}
	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public Company() {
		super();
	}
	public Company(String code, String name, String linkman, String phone,
			String fax, String address, int type) {
		super();
		this.code = code;
		this.name = name;
		this.linkman = linkman;
		this.phone = phone;
		this.fax = fax;
		this.address = address;
		this.type = type;
	}
	@Override
	public String toString() {
		return "Company [code=" + code + ", name=" + name + ", linkman="
				+ linkman + ", phone=" + phone + ", fax=" + fax + ", address="
				+ address + ", type=" + type + "]";
	}
	
	
}
